package com.meitianhui.convenitenbuy.module.wallet.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.wallet.model.RedPacketBean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/2.
 */

public interface WalletPacketsContract {
    interface View extends BaseView<Presenter> {
        void openRedPacketResult(RedPacketBean packetBean);

        void getRedPacketsBack(List<RedPacketBean> packets);
    }

    interface Presenter extends BasePresenter {
        void getRedPackets(int page);

        void openRedPacket(RedPacketBean packetBean);
    }
}
